<%@ page import="SeedBank.Mail" %>



<div class="fieldcontain ${hasErrors(bean: mailInstance, field: 'toUser', 'error')} required">
	<label for="toUser">
		<g:message code="mail.toUser.label" default="To User" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="toUser" required="" value="${mailInstance?.toUser}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: mailInstance, field: 'title', 'error')} required">
	<label for="title">
		<g:message code="mail.title.label" default="Title" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="title" required="" value="${mailInstance?.title}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: mailInstance, field: 'message', 'error')} required">
	<label for="message">
		<g:message code="mail.message.label" default="Message" />
		<span class="required-indicator">*</span>
	</label>
	<g:textArea name="message" value="${mailInstance?.message}" rows="5" cols="5" />
	
</div>

